﻿using System;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;

namespace Bookvar.Console
{
    public interface ILanguageEngine
    {
        Version Version { get; }

        ScriptEngine ScriptEngine { get; }

        ScriptModule CurrentModule { get; }

        ICodeSenseProvider CodeSenseProvider { get; }

        string LanguageName { get; }

        string LanguageShortName { get; }

        bool IsExpressionValid( string expression );

        bool IsStatementComplete( string statement );
    }
}
